package org.dtrd.modules.patient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.patient.entity.bean.group.GroupDetail;
import org.dtrd.modules.patient.entity.bean.group.GroupListInfo;
import org.dtrd.modules.patient.entity.po.DtrdEntRdGroup;

import java.util.List;

/**
@author 萧
@date 2021-10-01 22:47:26
**/
public interface IDtrdEntRdGroupService extends IService<DtrdEntRdGroup> {

    List<GroupListInfo> getGroupList();

    GroupDetail getGroup(Integer dataId);

    boolean isValidGroupName(String groupName, Integer groupId, String orgCode);

    boolean saveOrUpdateGroup(GroupDetail dto);

    boolean removeGroup(Integer dataId);
}
